server:::

aaa new-model
aaa authentication login <authentication-list> local
aaa authorization network <authorization-list> local
username <username> password <password>
ip local pool <poolname> <> <>
crypto isakmp policy 10
encr 3des
authentication pre-share
group 2
crypto isakmp client configuration group <group-name>
key <key>
pool <poolname>
save-password  
crypto isakmp profile <profile-name>
     match identity group
     client authentication list
     isakmp authorization list
     client configuration address respond
     virtual-template 1
crypto ipsec transform-set <TSET> esp-3des esp-md5-hmac
crypto ipsec profile <profile-name>
set transform-set <TSET>
set isakmp-profile <isakmp-profile-name>
int virtual-template 1 type tunnel
ip unn f0/0
tunnel mode ipsec ipv4
tunnel protection ipsec profile <ipsec-profile-name>


client:::
crypto isakmp policy 10
encr 3des
authentication pre-share
group 2
crypto ipsec client ezvpn <ezvpn-name>
connect auto
group <group-name> key <password>
mode client
peer <server-address>
username cisco password cisco
xauth userid mode local
int l0
crypto ipsec client ezvpn <ezvpn-name> inside
int f0/0
crypto ipsec client ezvpn <ezvpn-name> outsidevpnclient-winx64-msi-5.0.07.0440-k9.exe